<extend name="./public/frame.html"/>
<block name="content">
	<style>
		.layui-form-label{width: 10%;}
		.layui-input-block{margin-left: 12%;}
	</style>
	<h2 style="text-align: center;">车辆归属</h2>
	<form class="layui-form layui-form-pane1" method="post" >
		<input type="hidden" name="car_id" value="{$data.car_id}">
		<div class="layui-form-item">
			<label class="layui-form-label"><i style="color:red;font-size: 28px;vertical-align: bottom;">*</i>结算机构名称</label>
			<div class="layui-input-inline">
			  <input type="text" name="driverProType" value="{$data.driverProType}" class="layui-input">
			</div>
			<div class="layui-form-mid layui-word-aux">GR个人 ZY平台 CZ出租企业  车辆归属</div>
		</div>
	
		<div class="layui-form-item">
			<label class="layui-form-label"><i style="color:red;font-size: 28px;vertical-align: bottom;">*</i>车辆类型</label>
			<div class="layui-input-inline">
			  <input type="text" name="vehicleBrand" value="{$data.vehicleBrand}" class="layui-input">
			</div>
			<div class="layui-form-mid layui-word-aux">车辆类型 eg小型轿车</div>
		</div>
	
		<div class="layui-form-item">
			<label class="layui-form-label"><i style="color:red;font-size: 28px;vertical-align: bottom;">*</i>车辆注册日期</label>
			<div class="layui-input-inline">
			  <input type="text" name="vehRegisDate" value="{$data.vehRegisDate}" class="layui-input">
			</div>
			<div class="layui-form-mid layui-word-aux">车辆注册日期</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label"><i style="color:red;font-size: 28px;vertical-align: bottom;"></i>车牌号码</label>
			<div class="layui-input-inline">
			  <input type="text" name="vehicleLicense" value="{$data.vehicleLicense}" class="layui-input">
			</div>
			<div class="layui-form-mid layui-word-aux">车牌号码</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label"><i style="color:red;font-size: 28px;vertical-align: bottom;"></i>网约车初次登记时间</label>
			<div class="layui-input-inline">
			  <input type="text" name="ncpFirstDate" value="{$data.ncpFirstDate}" class="layui-input">
			</div>
			<div class="layui-form-mid layui-word-aux">网约车初次登记时间</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label"><i style="color:red;font-size: 28px;vertical-align: bottom;"></i>网约车车辆运输证号</label>
			<div class="layui-input-inline">
			  <input type="text" name="certificateNo" value="{$data.certificateNo}" class="layui-input">
			</div>
			<div class="layui-form-mid layui-word-aux">网约车车辆运输证号</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label"><i style="color:red;font-size: 28px;vertical-align: bottom;"></i>状态</label>
			<div class="layui-input-inline">
			  <input type="text" name="vehicleStatus" value="{$data.vehicleStatus}" class="layui-input">
			</div>
			<div class="layui-form-mid layui-word-aux">状态 YY运营 TC退出</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label"><i style="color:red;font-size: 28px;vertical-align: bottom;">*</i>车牌颜色</label>
			<div class="layui-input-inline">
			  <input type="text" name="boardColor" value="{$data.boardColor}" class="layui-input">
			</div>
			<div class="layui-form-mid layui-word-aux">车牌颜色，如蓝牌</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label"><i style="color:red;font-size: 28px;vertical-align: bottom;">*</i>车辆类型</label>
			<div class="layui-input-inline">
			  <input type="text" name="vehicleType" value="{$data.vehicleType}" class="layui-input">
			</div>
			<div class="layui-form-mid layui-word-aux">车辆类型，如经济型，舒适性，豪华型</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label"><i style="color:red;font-size: 28px;vertical-align: bottom;">*</i>车辆照片</label>
			<div class="layui-input-inline">
				<img src="{$data.vehiclePhoto}" style="width: auto;height:100px">
			  <input type="hidden" name="vehiclePhoto" value="{$data.vehiclePhoto}" class="layui-input">
			</div>
			<div class="layui-form-mid layui-word-aux">车辆照片 base64</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label"><i style="color:red;font-size: 28px;vertical-align: bottom;">*</i>车辆行程总公里</label>
			<div class="layui-input-inline">
			  <input type="text" name="distanceTotal" value="{$data.distanceTotal}" class="layui-input">
			</div>
			<div class="layui-form-mid layui-word-aux">车辆行程总公里</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label"><i style="color:red;font-size: 28px;vertical-align: bottom;">*</i>年度审验状态</label>
			<div class="layui-input-inline">
			  <input type="text" name="annualCheckStatus" value="{$data.annualCheckStatus}" class="layui-input">
			</div>
			<div class="layui-form-mid layui-word-aux">年度审验状态 0未审验1审验通过2审验未通过</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label"><i style="color:red;font-size: 28px;vertical-align: bottom;">*</i>车辆检修状态</label>
			<div class="layui-input-inline">
			  <input type="text" name="examStatus" value="{$data.examStatus}" class="layui-input">
			</div>
			<div class="layui-form-mid layui-word-aux">车辆检修状态 0未检修1已检修2未知</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label"><i style="color:red;font-size: 28px;vertical-align: bottom;"></i>下次年检时间</label>
			<div class="layui-input-inline">
			  <input type="text" name="nextExamDate" value="{$data.nextExamDate}" class="layui-input">
			</div>
			<div class="layui-form-mid layui-word-aux">下次年检时间</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label"><i style="color:red;font-size: 28px;vertical-align: bottom;"></i>网约车发票打印设备序列号</label>
			<div class="layui-input-inline">
			  <input type="text" name="ncpDeviceSerialNum" value="{$data.ncpDeviceSerialNum}" class="layui-input">
			</div>
			<div class="layui-form-mid layui-word-aux">网约车发票打印设备序列号</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label"><i style="color:red;font-size: 28px;vertical-align: bottom;">*</i>定位装置品牌</label>
			<div class="layui-input-inline">
			  <input type="text" name="gpsBrand" value="{$data.gpsBrand}" class="layui-input">
			</div>
			<div class="layui-form-mid layui-word-aux">定位装置品牌</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label"><i style="color:red;font-size: 28px;vertical-align: bottom;">*</i>卫星定位装置型号</label>
			<div class="layui-input-inline">
			  <input type="text" name="gpsDeviceType" value="{$data.gpsDeviceType}" class="layui-input">
			</div>
			<div class="layui-form-mid layui-word-aux">卫星定位装置型号</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label"><i style="color:red;font-size: 28px;vertical-align: bottom;">*</i>卫星定位装置安装时间</label>
			<div class="layui-input-inline">
			  <input type="text" name="gpsFixDate" value="{$data.gpsFixDate}" class="layui-input">
			</div>
			<div class="layui-form-mid layui-word-aux">卫星定位装置安装时间</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label"><i style="color:red;font-size: 28px;vertical-align: bottom;"></i>卫星定位装置IMEI号</label>
			<div class="layui-input-inline">
			  <input type="text" name="gpsIMEI" value="{$data.gpsIMEI}" class="layui-input">
			</div>
			<div class="layui-form-mid layui-word-aux">卫星定位装置IMEI号</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label"><i style="color:red;font-size: 28px;vertical-align: bottom;">*</i>运价类型</label>
			<div class="layui-input-inline">
			  <input type="text" name="transPriceType" value="{$data.transPriceType}" class="layui-input">
			</div>
			<div class="layui-form-mid layui-word-aux">运价类型</div>
		</div>
	
	


		







		<div class="layui-form-item">
			<div class="layui-input-block">
				<button class="layui-btn" layer-submit id="submits">立即提交</button>
	
			</div>
		</div>
	</form>

	<script>
		layui.use(['laydate', 'upload','form'], function () {
			var laydate = layui.laydate
				,upload = layui.upload
				,form = layui.form
			;
			upload.render({
				elem: '#test3'//这个就等同于点击
				,url: '/admin/Upload/base64EncodeImage'
				,before: function(obj){
				
				}
				,done:  function(res){ //上传后的回调
					console.log(res)		
					if(res.status == 1){
						$("#demo3").attr('src',res.base_img);
						$("#legalIdCardPhoto").val(res.base_img);
					
					  
					}else{
						layer.msg(res.msg,{'icon':2});
					}
				},
				error: function(e){
					console.log(e)
				  //layer.msg('上传失败');
				 
				}
			}); 
		
		
		});

	</script>
</block>
